Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Blocked by #127] GH-125: Update assumptions and correct type handling. #126

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

zwelz3
Copy link
Member

@zwelz3 zwelz3 commented May 10, 2022

We previously assume the only type in the InteractiveViewer is rdf:type. This ticket adds in the handling of rdfs:subClassOf and handles mixed typing for instances (ignores owl:NamedIndividual)

Closes #125

@zwelz3 zwelz3 added bug Something isn't working enhancement New feature or request vis:cytoscape issues for cytoscape/ipycytoscape rdf2nx Related to the rdf2nx converter labels May 10, 2022
@zwelz3 zwelz3 added this to the 🌞 Release 0.2.1 milestone May 10, 2022
@zwelz3
Copy link
Member Author

zwelz3 commented May 10, 2022

This makes the InteractiveViewer widget a bit nicer to use for mixed types

@@ -189,7 +195,7 @@ def assign_css_classes(self):
color_list = COLOR_LIST.copy()
n_to_add = len(self.uri_to_string_type.keys()) - len(color_list)
if n_to_add > 0 and self.allow_large_graphs:
color_list.extend([(255, 255, 255)] * n_to_add)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was white and made the nodes basically invisible

@zwelz3 zwelz3 changed the title GH-125: Update assumptions and correct type handling. [Blocked by #127] GH-125: Update assumptions and correct type handling. May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request rdf2nx Related to the rdf2nx converter vis:cytoscape issues for cytoscape/ipycytoscape
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update assumptions about types
1 participant